package com.jr9z.jrjz.service;

import com.jr9z.jrjz.entity.Recruit;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:Mrzhang
 * @Description:招聘service
 * @Date:2019.03.25 21:44
 **/
public interface RecruitService {
    int deleteByPrimaryKey(Integer recruitId);

    int insert(Recruit record);

    int insertSelective(Recruit record);

    Recruit selectByPrimaryKey(Integer recruitId);

    int updateByPrimaryKeySelective(Recruit record);

    int updateByPrimaryKey(Recruit record);

    /**
     * @Description:获取招聘信息条数
     * @date: 15:23 2019-3-28
     * @param:
     * @return: java.lang.Long
     */
    Long  getRecruitCount();

    /**
     * @Description:查询全部招聘信息（分页）
     * @date: 15:26 2019-3-28
     * @param:
     * @return: java.util.List<com.jr9z.jrjz.entity.Recruit>
     */
    List<Recruit> getAllRecruit();
}
